﻿using ShiQuan.IotDevice.Entity;
using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ShiQuan.IotDevice.Mapping
{
    public class IotDeviceInstallMap : EntityTypeConfiguration<IotDeviceInstallEntity>
    {
        public IotDeviceInstallMap()
        {
            #region 表、主键

            //表
            this.ToTable("IotDeviceInstall");
            //主键
            this.HasKey(t => t.Id);

            #endregion 表、主键
        }
    }
}
